<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>简介</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="book.datetime.html">Date/Time</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="datetime.setup.html">安装／配置</a></div>
 <div class="up"><a href="book.datetime.html">Date/Time</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="intro.datetime" class="preface">
  <h1 class="title">简介</h1>
  <p class="para">
   These functions allow you to get the date and time from the server
   where your PHP scripts are running. You can use these functions to format the
   date and time in many different ways.
  </p>
  <p class="para">
   The date and time information is internally stored as a 64-bit number so
   all conceivably useful dates (including negative years) are supported. The range is from about 292
   billion years in the past to the same in the future.
  </p>
  <blockquote class="note"><p><strong class="note">Note</strong>: 
   <span class="simpara">
    Please keep in mind that these functions are dependent on
    the locale settings of your server. Make sure to take
    daylight saving time (use e.g.
    <em>$date = strtotime(&#039;+7 days&#039;, $date)</em> and not
    <em>$date += 7*24*60*60</em>)
    and leap years into consideration when working
    with these functions.
   </span>
  </p></blockquote>
  <blockquote class="note"><p><strong class="note">Note</strong>: 
   <span class="simpara">
    The timezones referenced in this section can be found in the
    <a href="timezones.html" class="xref">所支持的时区列表</a>.
   </span>
  </p></blockquote>
 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="book.datetime.html">Date/Time</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="datetime.setup.html">安装／配置</a></div>
 <div class="up"><a href="book.datetime.html">Date/Time</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
